import request from '@/utils/request'

export default {
  getList(args) {
    return request.doGet('/biz/sysmsg/getList', args)
  },

  getById(args) {
    return request.doGet('/biz/sysmsg/getById', args)
  },

  add(args) {
    return request.doPost('/biz/sysmsg/add', args)
  },

  edit(args) {
    return request.doPost('/biz/sysmsg/edit', args)
  },

  getNoReadCount(args) {
    return request.doGet('/biz/sysmsg/getNoReadCount', args)
  },

  send(args) {
    return request.doPost('/biz/sysmsg/send', args)
  },

  setAsRead(args) {
    return request.doPost('/biz/sysmsg/setAsRead', args)
  },

  deleteByIds(args) {
    return request.doPost('/biz/sysmsg/deleteByIds', args)
  }
}
